package com.allwees.core.mq.rabbitmq.annotation;

import com.allwees.core.mq.rabbitmq.batch.BatchMqConsumerFactory;
import com.allwees.core.mq.rabbitmq.config.RabbitMqConfig;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

public class MqImportSelector implements ImportSelector {
	@Override
	public String[] selectImports(AnnotationMetadata importingClass) {
		return new String[]{BatchMqConsumerFactory.class.getName(), RabbitMqConfig.class.getName()};
	}
}
